package com.zeei.ems.base.vo;


import com.zeei.ems.base.tree.TreeNodeVO;

public class AreaCodeVO extends TreeNodeVO<AreaCodeVO> {
	/** 区域代码 */
	private String regionCode;
	/** 区域名称 */
	private String regionName;
	/** 上级区域名称 */
	private String pName;
	/** 上级区域 */
	private String pCode;
	/** 城乡分类代码 */
	private String typeCode;
	/** 分类名称 */
	private String typeName;
	/** 排序 */
	private Integer orderNum;
	/** 用户ID */
	private String userId;
	/** 经度 */
	private double longitude;
	/** 纬度 */
	private double latitude;
	/** 区域代码 */
	private String oldregionCode;
	/** 区域名称 */
	private String oldregionName;
	/** 层级1省级2城市3区县 */
	private Integer level;

	@Override
	public Integer getOrderNum() {
		return orderNum;
	}

	@Override
	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}

	public void setTypeCode(String typeCode) {
		this.typeCode = typeCode;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getRegionCode() {
		return this.regionCode;
	}

	public void setRegionCode(String regionCode) {
		this.regionCode = regionCode == null ? null : regionCode.trim();
		this.id = regionCode;
	}

	public String getRegionName() {
		return this.regionName;
	}

	public void setRegionName(String regionName) {
		this.regionName = regionName == null ? null : regionName.trim();
		this.text = regionName;
	}

	public String getpName() {
		return pName;
	}

	public void setpName(String pName) {
		this.pName = pName;
	}

	public String getpCode() {
		return this.pCode == null ? "" : this.pCode;
	}

	public void setpCode(String pCode) {
		this.pCode = pCode == null ? null : pCode.trim();
		this.parentId = pCode;
	}

	public String getTypeCode() {
		return this.typeCode;
	}

	public void setTypecode(String typeCode) {
		this.typeCode = typeCode == null ? null : typeCode.trim();
	}

	public String getTypeName() {
		return this.typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName == null ? null : typeName.trim();
	}

	public double getLongitude() {
		return longitude;
	}

	public void setLongitude(double longitude) {
		this.longitude = longitude;
	}

	public double getLatitude() {
		return latitude;
	}

	public void setLatitude(double latitude) {
		this.latitude = latitude;
	}

	public Integer getLevel() {
		return level;
	}

	public void setLevel(Integer level) {
		this.level = level;
	}

	public String getOldregionCode() {
		return oldregionCode;
	}

	public void setOldregionCode(String oldregionCode) {
		this.oldregionCode = oldregionCode;
	}

	public String getOldregionName() {
		return oldregionName;
	}

	public void setOldregionName(String oldregionName) {
		this.oldregionName = oldregionName;
	}
}